package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class TargetTable {

    private int beginIndex;
    private int endIndex;
    private boolean only;
    private LocalOrSchemaQualifiedName tableName;

    public TargetTable(int beginIndex, int endIndex, boolean only, LocalOrSchemaQualifiedName tableName) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.only = only;
        this.tableName = tableName;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isOnly() {
        return only;
    }

    public LocalOrSchemaQualifiedName getTableName() {
        return tableName;
    }

}
